import {
	get,
	post,
	put,
	del
} from '@/utils/request.js'
/**
 * 获取商户列表
 */
export const getMerchantPageApi = (data) => {
	return get('/merchant/page', data)
}
/**
 * 商家审核商户个数
 */
export const getAuditCount = (data) => {
	return get('/merchant/getAuditCount', data)
}
/**
 * 商户详情
 */
export const getDetailById = (data) => {
	return get('/merchant/detail', data)
}
/***
*商户入驻审核列表
**/ 
export const getmerchantEnterPage = (data) => {
	return get('/merchantEnterApply/page', data)
}
/***
*商户入驻审核详情
**/ 
export const getmerchantEnterDetails = (data) => {
	return get('/merchantEnterApply/details', data)
}
/***
*商户入驻审核
**/ 
export const auditMerchantEnter = (data) => {
	return post('/merchantEnterApply/audit', data)
}
